<template>
  <div class="zq_gold_log">
    <header>
      <div class="header-left">
        <div class="header-icon"></div>
        <div class="header-text">会员优惠券</div>
      </div>
      <div class="member_header_right_btn">
        <div @click="showMember()"><a href="">更多金币任务>></a></div>
      </div>
    </header>
    <main>
      <div class="main_tab">
        <el-table
          :data="tableData"
          border
          :header-cell-style="{ 'text-align': 'center', background: '#f5f7fa' }"
          style="width: 100%"
        >
          <el-table-column prop="goldNum" label="金币数量" align="center">
          </el-table-column>
          <el-table-column prop="mold" label="类型" align="center">
          </el-table-column>
          <el-table-column prop="time" align="center" label="时间">
          </el-table-column>
        </el-table>
      </div>
    </main>
    <footer>
      <div class="pagesNavtions">
        <a class="current">1</a>
      </div>
    </footer>
  </div>
</template>

<script>
export default {
  name: 'goldLog',
  data () {
    return {
      tableData: [
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        },
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        },
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        },
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        },
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        },
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        },
        {
          goldNum: '0',
          mold: '网站打卡签到',
          time: '2023-04-10 18:15:41'
        }
      ]
    }
  }
}
</script>

<style lang="less" scoped>
.zq_gold_log {
  background-color: #fff;
  header {
    height: 45px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    text-align: center;
    line-height: 45px;
    color: rgba(0, 0, 0, 1);
    border-bottom: 1px solid rgba(244, 244, 244, 1);
    background-color: #fff;
    .header-left {
      display: flex;
    }
    .header-icon {
      width: 4px;
      height: 16px;
      background: rgba(230, 0, 18, 1);
      display: inline-block;
      vertical-align: -3px;
      margin-right: 4px;
      margin-left: 10px;
      margin-top: 15px;
    }
    .header-text {
      font-size: 16px;
      font-weight: 400;
    }
    .member_header_right_btn {
      margin: 7px 19px 0 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      font-weight: 400;
      width: 110px;
      height: 28px;
      cursor: pointer;
      a {
        color: #000;
      }
    }
  }
  main {
    height: 500px;
    .main_tab {
      padding: 20px;
    }
  }
  footer {
  .pagesNavtions {
    padding: 80px 10px 20px 0;
    color: #666;
    text-align: center;
    padding-bottom: 30px;
    a {
    display: inline-block;
    min-width: 30px;
    cursor: pointer;
    color: #666;
    font-size: 13px;
    line-height: 28px;
    background-color: #cfcfcf;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    text-align: center;
    margin: 0 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-decoration: none;
}
     .current {
      background-color: #bf2b28;
    border-color: #bf2b28;
    color: #FFF;
    border-radius: 50%;
    }
  }
  }
}
</style>
